package com.mzj.saas.mservice.area.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 城市搜索记录表
 */
@Entity
@Table(name = "sys_area_search_log")
public class AreaSearchLog extends IdEntity {

    @Column(name = "area_id", nullable = true)
    private Long areaId;

    @Column(name = "name", nullable = true)
    private String name;

    @Column(name = "search_time", nullable = true)
    private Date searchTime;

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getSearchTime() {
        return searchTime;
    }

    public void setSearchTime(Date searchTime) {
        this.searchTime = searchTime;
    }
}
